#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   pig_climb.py
@Contact :   raogx.vip@hotmail.com
@License :   (C)Copyright 2017-2018, Liugroup-NLPR-CASIA

@Modify Time      @Author    @Version    @Desciption
------------      -------    --------    -----------
2021/1/30 9:11 下午   caijiahao      1.0         Bytedancer
'''

# import lib
# 各个视频的秒数
video_seconds = {
    "81": 4221,
    "82": 4225,
    "83": 4225,
    "84": 4228,
    "85": 4230,
    "86": 4225,
    "87": 4223,
    "88": 4220,
    "89": 4221,
    "90": 4223,
    "91": 4230,
}

algorithm_result = {
    "video1": {
        "pred": [[402, 419], [670, 717]],
        "real": [[402, 419], [670, 717]],
        "length": 804,

    },
    "video3": {
        "pred": [[896, 912]],
        "real": [[896, 914]],
        "length": 1074,
    },
    "video4": {
        "pred": [[725, 746]],
        "real": [[725, 746]],
        "length": 870,
    },
    "video5": {
        "pred": [[0, 60]],
        "real": [[0, 62]],
        "length": 1740,
    },
    "video6": {
        "pred": [[207, 210], [416, 423]],
        "real": [[207, 214], [414, 431]],
        "length": 1230,
    },
    "video7": {
        "pred": [[865, 883]],
        "real": [[864, 886]],
        "length": 1284,
    },
    "video8": {
        "pred": [[1, 3], [888, 940]],
        "real": [[0, 4], [888, 950]],
        "length": 1764,
    },
    "video9": {
        "pred": [[636, 644]],
        "real": [[636, 649]],
        "length": 1260,
    },
    "video10": {
        "pred": [[468, 478]],
        "real": [[468, 480]],
        "length": 1392,
    },
    "video11": {
        "pred": [[603, 649]],
        "real": [[603, 650]],
        "length": 1206,
    },
    "video12": {
        "pred": [[192, 201], [948, 964]],
        "real": [[190, 201], [950, 966]],
        "length": 1128,
    },
    "video13": {
        "pred": [[180, 220]],
        "real": [[179, 222]],
        "length": 1062,
    },
    "video14": {
        "pred": [[1115, 1129]],
        "real": [[1115, 1129]],
        "length": 1326,
    },
    "video15": {
        "pred": [[0, 67]],
        "real": [[0, 67]],
        "length": 1032,
    },
    "video16": {
        "pred": [[322, 347]],
        "real": [[314, 348]],
        "length": 930,
    },
    "video17": {
        "pred": [[468, 474]],
        "real": [[468, 475]],
        "length": 924,
    },
    "video18": {
        "pred": [[615, 662]],
        "real": [[615, 662]],
        "length": 726,
    },
    "video19": {
        "pred": [[180, 195]],
        "real": [[179, 195]],
        "length": 1062,
    },
    "video20": {
        "pred": [[1008, 1062]],
        "real": [[1008, 1073]],
        "length": 1500,
    },
    "video21": {
        "pred": [[447, 466]],
        "real": [[445, 467]],
        "length": 522,
    },
    "video22": {
        "pred": [[920, 938]],
        "real": [[920, 938]],
        "length": 1092,
    },
    "video23": {
        "pred": [[486, 500]],
        "real": [[486, 500]],
        "length": 960,
    },
    "video24": {
        "pred": [[96, 101]],
        "real": [[95, 101]],
        "length": 570,
    },
    "video25": {
        "pred": [[400, 417]],
        "real": [[400, 417]],
        "length": 588,
    },
    "video26": {
        "pred": [[387, 401], [645, 668]],
        "real": [[387, 405], [516, 517], [645, 671]],
        "length": 762,
    },

    "video27": {
        "pred": [[530, 559]],
        "real": [[530, 559]],
        "length": 624,
    },
    "video28": {
        "pred":  [[224, 227]],
        "real":  [[224, 227]],
        "length": 660,
    },
    "video29": {
        "pred":  [[615, 627]],
        "real":  [[615, 627]],
        "length": 726,
    },
    "video30": {
        "pred": [],
        "real": [[530, 536]],
        "length": 624,
    },
}
